<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<meta charset="UTF-8">
		<title>个人信息页面</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
	    <meta name="description" content="Creative - Bootstrap 3 Responsive Admin Template">
	    <meta name="author" content="GeeksLabs">
	    <meta name="keyword" content="Creative, Dashboard, Admin, Template, Theme, Bootstrap, Responsive, Retina, Minimal">
	    <link rel="shortcut icon" href="img/favicon.png">
	</head>
	<body>
     	<c:import url="tea_home.jsp"></c:import>
     	
		<!--main content start-->
      	<div class="layui-body container" style="margin-top: 100px">
			
			
			<div class="layui-row">
				
				<div class="col-md-10 col-md-offset-2">
				<!-- start: GENERAL PANEL -->
				<div class="panel-body">
					<form id="condition" class="form-horizontal"
						action="./${sessionScope.pathCode}upteaInfo.do" method="post">
	
						<div class="form-group">
							<label class="col-sm-2 control-label" for="teaId">
								教师工号 </label>
							<div class="col-sm-5">
								<input type="text" value="${teacher.teaId }" name="teaId"
									id="stuId" class="form-control" readonly="readonly">
							</div>
							<span class="help-inline col-sm-2"> <i
								class="fa fa-info-circle"></i><font color="red"> 不可修改</font> </span>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label" for="teaName"> 姓名 </label>
							<div class="col-sm-5">
								<input type="text" value="${teacher.teaName }" id="teaName"
									name="teaName" class="form-control" readonly="readonly">
							</div>
							<span class="help-inline col-sm-2"> <i
								class="fa fa-info-circle"></i> <font color="red">不可修改 </font>
							</span>
						</div>
						<div class="form-group">
								<label class="col-sm-2 control-label" for="teaSex"> 性别 </label>
								<div class="col-sm-5">
									<select class="form-control search-select" id="teaSex"
										name="teaSex">
										<option value= "男"
											<c:if test="${teacher.teaSex=='男' }">
											 selected="selected"</c:if>>男</option>
										<option value= "女"
											<c:if test="${teacher.teaSex=='女'}">
											 selected="selected"</c:if>>女</option>
									</select>
								</div>
						</div>
						<div class="form-group">
								<label class="col-sm-2 control-label" for="teaRole">职称</label>
								<div class="col-sm-5">
									<select class="form-control search-select" id="teaRole"
										name="teaRole">
										<option value= "0"
											<c:if test="${teacher.teaRole eq 0 }">
											 selected="selected"</c:if>>讲师</option>
										<option value= "1"
											<c:if test="${teacher.teaRole=='1'}">
											 selected="selected"</c:if>>副教授</option>
										<option value= "2"
											<c:if test="${teacher.teaRole=='2'}">
											 selected="selected"</c:if>>教授</option>
										<option value= "3"
											<c:if test="${teacher.teaRole=='3'}">
											 selected="selected"</c:if>>院长</option>
									</select>
								</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label" for="teaTell"> 联系方式
							</label>
							<div class="col-sm-5">
								<input type="text" value="${teacher.teaTell }" id="teaTell"
									name="teaTell" class="form-control">
							</div>
							<span class="help-inline col-sm-4"> <i
								class="fa fa-info-circle"></i><font color="red"> 此项为必填项
									此项为空将不能执行任何操作</font> </span>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label" for="teaEmail"> 电子邮箱
							</label>
							<div class="col-sm-5">
								<input type="text" value="${teacher.teaEmail }" id="teaEmail"
									name="teaEmail" class="form-control" placeholder="Email">
							</div>
	
						</div>
						
						<div class="from-group">
							<label class="col-sm-2 control-label"></label>
							<div class="col-sm-2" style="text-align:right;">
								<button type="submit" class="btn btn-blue btn-block">
									<i class="clip-checkmark-2"></i> 确认
								</button>
							</div>
							<div class="col-sm-2" style="text-align:right;">
								<button type="button" class="btn btn-blue btn-block"
									onclick="javascript:history.go(-1);">
									<i class="clip-arrow-right-2 "></i> 返回
								</button>
							</div>
						</div>
					</form>
	
				</div>
			</div>
		</div>
		</div>
	  <script>
	  </script>
	</body>
</html>
